package com.atguigu.responsibilitychain;

//请求类
public class PurchaseRequest {

	private int typ = 0;//请求类型
	private float price = 0.0f;//请求金额
	private int id = 0;
	//构造器
	public PurchaseRequest(int typ,float price, int id) {
		this.typ = typ;
		this.price = price;
		this.id = id;
	}
	public int getTyp() {
		return typ;
	}
	public float getPrice() {
		return price;
	}
	public int getId() {
		return id;
	}
}
